package com.example.project.mapper;

import com.example.project.base.BaseMapper;
import com.example.project.entity.TAdmin;
import org.mapstruct.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TAdminMapper extends BaseMapper<TAdmin> {
    List<TAdmin> queryAllInforBySort();

    TAdmin getAdminBySort(Integer pkid,Integer sort,String sortType);

    Map<String,Object> getUserInfoById(Integer pkid);

    Integer updateAdmin(TAdmin tAdmin);
}
